package com.weishu.core.service.impl;

import com.weishu.core.entity.TbBusinessCircle;
import com.weishu.core.mapper.TbBusinessCircleMapper;
import com.weishu.core.service.ITbBusinessCircleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 * 商圈service业务层
 *
 *
 * @author cuidk
 * @since 2021-10-19
 */
@Service
public class TbBusinessCircleServiceImpl extends ServiceImpl<TbBusinessCircleMapper, TbBusinessCircle> implements ITbBusinessCircleService {

    @Autowired
    private TbBusinessCircleMapper tbBusinessCircleMapper;

    /**
     * 查询商圈按信息
     * @param county 商圈id
     * @return
     */
    @Override
    public List<TbBusinessCircle> getarea(Long county) {
        return tbBusinessCircleMapper.getarea(county);
    }
}
